package com.ssm.domain;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
*
*suae  2016��7��17��
*@return
*/
@Table(name="address")
public class Address {

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getReceiver() {
		return recevier;
	}

	public void setRecevier(String receiver) {
		this.recevier = receiver;
	}

	public String getRecevierPhoneNum() {
		return recevierPhoneNum;
	}

	public void setReceiverPhoneNum(String receiverPhoneNum) {
		this.recevierPhoneNum = receiverPhoneNum;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int id;
	
	
	@Column(name="province")
	private String province;
	@Column(name = "city")
	private String city;
	
	@Column(name = "county")
	private String county;
	
	@Column(name = "detail")
	private String detail;
	
	@Column(name = "recevier")
	private String recevier;
	
	@Column(name = "recevierPhoneNum")
	private String recevierPhoneNum;
	
	@Column(name = "postCode")
	private String postCode;

	@Column(name = "userId")
	private String userId;
}
